package com.hc.cosmetichospital.pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Member {
    private Integer meid;

    private Clients clients; //客户id 关联客户表

    private String meismember;//是否会员，开会员直接 填“是”

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date memanagedate;//办理日期

    private String membercardno;//会员卡号

    private Double meinitprice;//初始开卡金额

    private Integer merank;//会员级别 1白银 2黄金 3钻石

    private Staff staff;//开卡人 当前登录管理员账号编号

    public Integer getMeid() {
        return meid;
    }

    public void setMeid(Integer meid) {
        this.meid = meid;
    }

    public Clients getClients() {
		return clients;
	}

	public void setClients(Clients clients) {
		this.clients = clients;
	}

	public String getMeismember() {
        return meismember;
    }

    public void setMeismember(String meismember) {
        this.meismember = meismember == null ? null : meismember.trim();
    }

    public Date getMemanagedate() {
        return memanagedate;
    }

    public void setMemanagedate(Date memanagedate) {
        this.memanagedate = memanagedate;
    }

    public String getMembercardno() {
        return membercardno;
    }

    public void setMembercardno(String membercardno) {
        this.membercardno = membercardno == null ? null : membercardno.trim();
    }

    public Double getMeinitprice() {
        return meinitprice;
    }

    public void setMeinitprice(Double meinitprice) {
        this.meinitprice = meinitprice;
    }

    public Integer getMerank() {
        return merank;
    }

    public void setMerank(Integer merank) {
        this.merank = merank;
    }

	public Staff getStaff() {
		return staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

    
}